//
//  DisPlayTextViewController.m
//  SHRCWDemo
//
//  Created by 01 on 17/2/18.
//  Copyright © 2017年 蔡正军. All rights reserved.
//

#import "DisPlayTextViewController.h"

@interface DisPlayTextViewController ()

@end

@implementation DisPlayTextViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    
    [self.view addSubview:self.readView];
}

-(TextCoreView *)readView
{
    if (!_readView)
    {
        _readView = [[TextCoreView alloc] initWithFrame:CGRectMake(LeftSpacing,TopSpacing, self.view.frame.size.width-LeftSpacing-RightSpacing, self.view.frame.size.height-TopSpacing-BottomSpacing)];
        _readView.content = _content;
    }
    return _readView;
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
